package com.example.gymlearning.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

// KnowledgePointDTO.java
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KnowledgePointDTO {
    private Long id;
    private Long classId; // 分类ID（原categoryId）
    private String title;
    private String description;
    private String contentUrl;
    private Integer baseDuration;
    private Integer baseExperience;
    private String difficultyLevel;
    private String prerequisiteIds;
    private Integer orderNum;
    private Date createdTime;

    private String categoryName;  // 新增字段

    // 新增字段
    private String knowledgeType;
    private Long packageId;
    private String packageName;
}
